<?php

/**
 * @package Bike
 * @subpackage File
 */

/**
 * File uploads related exception
 * @author Chrome
 * @package Bike
 * @subpackage File
 */
class Bike_File_Upload_Exception extends Bike_File_Exception {
	//php constants
	const UPLOAD_ERR_OK = UPLOAD_ERR_OK;
	const UPLOAD_ERR_INI_SIZE = UPLOAD_ERR_INI_SIZE;
	const UPLOAD_ERR_FORM_SIZE = UPLOAD_ERR_FORM_SIZE;
	const UPLOAD_ERR_PARTIAL = UPLOAD_ERR_PARTIAL;
	const UPLOAD_ERR_NO_FILE = UPLOAD_ERR_NO_FILE;
	const UPLOAD_ERR_NO_TMP_DIR = UPLOAD_ERR_NO_TMP_DIR;
	const UPLOAD_ERR_CANT_WRITE = UPLOAD_ERR_CANT_WRITE;
	const UPLOAD_ERR_EXTENSION = UPLOAD_ERR_EXTENSION;
	//Bike constants
	const UPLOAD_PATH_IS_NOT_SET = 9;
	const NO_FIELD_WITH_FILE = 10;
	const PROBLEM_WITH_UPLOADING_FILE = 11;
	const NOT_ALLOWED_FILENAME = 12;
	const NOT_UPLOADED_FILE = 13;
	const CANT_MOVE_UPLOADED_FILE = 14;
}
